Skip to main content

System-defined Properties

ApertureDB defines a set of properties known as system-defined properties. These properties are either used in object definitions or computed internally by the system. To distinguish them from user-defined properties, all system-defined properties start with "_" prefix. Some properties are present in all objects (e.g., _uniqueid), while others are specific to certain object types (e.g., _label for BoundingBox, Polygons, or Descriptors). System-defined properties cannot be updated by users, except in cases where the Update command explicitly supports modification through defined parameters. However, these properties can be used as keys in constraints.

Here we detail the set of properties for each Object:

ObjectPropertiesTypeParam for Update CommandCan Be Used in constraintsNotes
All Objects_uniqueidstringYUnique id for the object
_create_txnnumberYTransaction id that created the object
Connection_srcstringNunique_id of the src of the connection
_dststringNunique_id of the dst of the connection
DescriptorSet_namestringYName of the set
_dimensionsnumberYDimensionality of the Descriptors
_enginesarrayNList of engines available for KNN
_metricsarrayNList of metrics available for KNN
_countnumberYNumber of Descriptors in the Set
_segment_sizenumberYNumber of Descriptors on each segment
_max_segmentsnumberYMaximum number of segments
_splitsobjectNNumber of splits
Descriptor_labelstringlabelY
_set_namestringYName of the set the Descriptor belongs to
BoundingBox_labelstringlabelY
_coordinatesrectrectangleN
_areanumberYArea (in pixels) of the BoundingBox
Polygon_labelstringlabelY
_verticespolypolygonsN
_areanumberYArea (in pixels) of the Polygon
_boundsrectNThe smallest rectangle containing the Polygon
Video_fpsnumberYAverage frames per second
_frame_countnumberYNumber of frames in the video
_frame_widthnumberYWidth of the frame
_frame_heightnumberYHeight of the frame
Frame_labelstringlabelY
_frame_numbernumberframe_numberY
_time_offsetstringtime_offsetY
_time_fractionnumbertime_fractionY
Clip_labelstringlabelY
_range_typenumberYType describing what type of range (time,frame,pct)
_range_startnumberYStart of Clip range
_range_stopnumberYEnd of Clip range

NOTE: Only properties having 'Param for Update Command' are modifiable by the user.

NOTE: Only the "==" and "in" operators are supported for "_uniqueid".